package main

import (
	"king-glory/appconfig"
	"king-glory/cache"
	"king-glory/moderl"
	"king-glory/router"
)

func main() {
	// 1.创建路由
	r := router.Init()
	appconfig.Init()
	moderl.Init()
	cache.Init()
	r.Run(":8000")
}
